#include <stdio.h>

int main(){
    int n;
    scanf("%d", &n);
    
    if(n < 0 || n >= 1000){
        printf("ERR");
        return 0;
    }
    
    if(n == 0){
        printf("zero");
        return 0;
    }
    
    // 定义各部分英文单词
    char *units[] = {"", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"};
    char *teens[] = {"ten", "eleven", "twelve", "thirteen", "fourteen", 
                    "fifteen", "sixteen", "seventeen", "eighteen", "nineteen"};
    char *tens[] = {"", "", "twenty", "thirty", "forty", "fifty", 
                   "sixty", "seventy", "eighty", "ninety"};
    
    int hundred = n / 100;
    int remainder = n % 100;
    int ten = remainder / 10;
    int unit = remainder % 10;
    
    // 处理百位
    if(hundred != 0){
        printf("%s hundred", units[hundred]);
        if(remainder != 0){
            printf(" ");
        }
    }
    
    // 处理十位和个位
    if(remainder >= 10 && remainder < 20){
        printf("%s", teens[remainder - 10]);
    }
    else{
        if(ten != 0){
            printf("%s", tens[ten]);
            if(unit != 0){
                printf("-%s", units[unit]);
            }
        }
        else{
            if(unit != 0){
                printf("%s", units[unit]);
            }
        }
    }
    return 0;
}
